home *** CD-ROM | disk | FTP | other *** search
- property lastSprite
-
- on exitFrame
- global temp, lastchar
- set whichSprite to 0
- repeat with i = 4 to 5
- if rollOver(i) then
- set whichSprite to i
- end if
- end repeat
- if whichSprite <> the lastSprite of script "help" then
- set the lastSprite of script "help" to whichSprite
- if whichSprite = 0 then
- if soundBusy(1) then
- puppetSound(0)
- end if
- else
- if whichSprite = 4 then
- puppetSound("yes")
- else
- if whichSprite = 5 then
- puppetSound("no")
- end if
- end if
- end if
- end if
- go(the frame)
- end
-